package top.hjcwzx.wrench.limiter.enums;

public enum KeyStrategyEnum {

    /**
     * 普通字符串策略
     */
    COMMON("common"),

    /**
     * SpEL 表达式策略，例如 #p0.name
     */
    SPEL("spel");


    private final String type;
    KeyStrategyEnum(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }
}
